package alittlepond.gui;

import java.awt.Dimension;

import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JColorChooser;
import javax.swing.JFrame;

import alittlepond.world.World;

/**
 * Doing the config & settings & such in a separate window for the moment. Might
 * put this into menus or something in a little while
 * 
 * @author hopey
 * 
 */
public class SettingsWindow extends JFrame{

	private static final int WIDTH = 120;
	private static final int HEIGHT = 600;
	
	//needs to have a hook to the actual backend that does shit, and the controls (or their models) will change the values.
	public void init() {
		//assume the world is initialised.
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setPreferredSize(new Dimension(WIDTH,HEIGHT));
		
		getContentPane().add(new JButton("Hello!"));
		getContentPane().add(new JColorChooser());
		getContentPane().add(new JCheckBox("Poop!"));
		
		pack();
		setVisible(true);
		setTitle("Settings");
	}
	
	
	
}
